- 
		Home
	
 
	- 
Challan – PDF Invoice & Packing Slip for WooCommerce
 
- 
3.1.17
 
- 
Code
 
- 
Classes
 
-  Promotions 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											53 | 
										
																			
											| Dependencies | 
											1 | 
										
																			
											| Dependents | 
											2 | 
										
																	
							 
													
								
																			
											| Total lines | 
											349 | 
										
																			
											| Lines of code | 
											204 | 
										
																			
											| Logical lines of code | 
											87 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											119 | 
										
																			
											| Methods | 
											14 | 
										
																			
											| Properties | 
											5 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 14
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| __show_promos() | 
									C  | 
																	37 | 
													25 | 
													73 | 
							
					
				| __get_promos() | 
									S  | 
																	56 | 
													5 | 
													17 | 
							
					
				| __webappick_dismiss_promo() | 
									S  | 
																	58 | 
													5 | 
													14 | 
							
					
				| __init_internal() | 
									S  | 
																	60 | 
													3 | 
													12 | 
							
					
				| __get_promo_styles() | 
									S  | 
																	64 | 
													1 | 
													34 | 
							
					
				| __is_promo_active() | 
									S  | 
																	76 | 
													3 | 
													3 | 
							
					
				| __get_promo_scripts() | 
									S  | 
																	70 | 
													1 | 
													18 | 
							
					
				| __construct() | 
									S  | 
																	71 | 
													2 | 
													6 | 
							
					
				| init() | 
									S  | 
																	69 | 
													2 | 
													6 | 
							
					
				| clear_hidden_promos() | 
									S  | 
																	67 | 
													2 | 
													7 | 
							
					
				| set_source() | 
									S  | 
																	76 | 
													1 | 
													4 | 
							
					
				| __is_promo_hidden() | 
									S  | 
																	79 | 
													1 | 
													3 | 
							
					
				| __enqueue_deps() | 
									S  | 
																	77 | 
													1 | 
													4 | 
							
					
				| clear_cache() | 
									S  | 
																	79 | 
													1 | 
													3 |